//
//  LoginViewController.m
//  Chat
//
//  Created by mac on 16/7/6.
//  Copyright © 2016年 Earl. All rights reserved.
//

#import "LoginViewController.h"
#import "ReginstViewController.h"
@interface LoginViewController ()
@property (weak, nonatomic) IBOutlet UITextField *nameTF;
@property (weak, nonatomic) IBOutlet UITextField *PswTF;



@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
  
    
    self.navigationItem.title=@"登录";
    
}

- (IBAction)loginBtn:(UIButton *)sender {
}

- (IBAction)regBtn:(id)sender {
    
    ReginstViewController *reginVC=[[ReginstViewController alloc]init];
    [self.navigationController pushViewController:reginVC animated:YES];
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
